<?php
	//Header
	$tp_header = new template('views/_template/header.html');
	
	$header_user ='<a href="#" id="bt-login">LOGIN IN</a> / <a href="/register/">REGISTER</a>';
	if($ss_member_id){
		$header_user =" <a href=\"/profile/$ss_username/\">$ss_username</a>/ <a href=\"/profile/logout/\">LOG OUT</a>";
	}
	
	$header_html = _u($tp_header->generate(), 'header');

	//Footer
	$tp_footer = new template('views/_template/footer.html');
	$footer_html = _u($tp_footer->generate(), 'footer');
?>